package com.dc.designPattern._22_responsibilitychain.extend.extend1;

/**
 * Description: 父亲角色
 * @author: gdc
 * @date: 2021/6/28
 * @version 1.0
 */
public class Father implements IHandler {

    @Override
    public void handleMessage(IWomen women) {
        System.out.println("女儿的请求是：" + women.getRequest());
        System.out.println("父亲的答复是：同意");
    }
}
